home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / polygonwidget.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-11-22  |  1.0 KB  |  36 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef POLYGONWIDGET_H
  8. #define POLYGONWIDGET_H
  9.  
  10. #include <QWidget>
  11. #include "scribusapi.h"
  12. #include "ui_polygonwidgetbase.h"
  13. struct toolPrefs;
  14. class SCRIBUS_API PolygonWidget : public QWidget, Ui::PolygonWidgetBase
  15. {
  16.     Q_OBJECT
  17.  
  18. public:
  19.     PolygonWidget(QWidget* parent, int polyC, int polyFd, double polyF, bool polyS, double polyR, double polyCurvature);
  20.     ~PolygonWidget() {};
  21.     double GetZeroFaktor();
  22.     double GetMaxFaktor();
  23.     void getValues(int* polyC, int* polyFd, double* polyF, bool* polyS, double* polyR, double* polyCurvature);
  24.     void restoreDefaults(struct toolPrefs *prefsData);
  25.     double PFactor;
  26.  
  27. public slots:
  28.     void UpdatePreView();
  29.     double GetFaktor();
  30.     void ValFromSpin(int a);
  31.     void ValFromSpin2(int a);
  32.     void ValFromSpin3(int a);
  33. };
  34.  
  35. #endif
  36.